package com.webreport.service;

import java.util.List;

import com.webreport.exception.LoginException;
import com.webreport.exception.ManagerException;
import com.webreport.model.db.SessionMonitor;
import com.webreport.webapp.bean.LoginBean;

public interface SessionManager extends GenericManager<SessionMonitor, String>{
	SessionMonitor querySession(String clientid) throws ManagerException;
	List<SessionMonitor> queryByUser(String username) throws ManagerException;
	SessionMonitor insertSession(LoginBean login,String ip) throws ManagerException, LoginException;
	void disableSession(String clientid) throws ManagerException;
}
